package com.example.hotelmanagement.rest;

import com.example.hotelmanagement.common.pojo.CommonResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 入住退房相关接口
 *
 * @author chenhetao
 * @version 1.0
 * @className CheckController
 * @packageName com.example.hotelmanagement.rest
 * @date 2023/6/13 21:29
 */
@RestController
@RequestMapping("check")
public class CheckController {
    @PostMapping("/in/1")
    public CommonResult<Integer> checkInMode1(){
        return CommonResult.success(1);
    }

    /**
     * 简单填写
     * @return
     */
    @PostMapping("/in/2")
    public CommonResult<Integer> checkInMode2(){
        return CommonResult.success(1);
    }
}
